import Vue from 'vue'
import App from './App.vue'
import momentMini from 'moment-mini'
import store from '@/store'
import khReqMethod from '@/utils/khReqMethod'
import mathMethod from '@/utils/math'
import dataDillUtil from '@/utils/dataDillUtil'

//rem适配
import 'amfe-flexible/index.js'
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
//样式引入的重置样式
import '@/styles/common.scss'
import '@/styles/kh-customer.scss'
import '@/styles/reset.scss'

Vue.prototype.$khReqMethod = khReqMethod
Vue.prototype.$momentMini = momentMini
Vue.prototype.$mathMethod = mathMethod
Vue.prototype.$dataDillUtil = dataDillUtil
Vue.prototype.$pageState = store.state.pageState
Vue.config.productionTip = false
new Vue({
    store,
    render: h => h(App)
}).$mount('#app')
